package com.myblog.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;

import com.github.jeffreyning.mybatisplus.anno.MppMultiId;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author From:星羽恒
 * @since 2021-11-24
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("t_blog_tags")
public class BlogTags implements Serializable {

    /*
        这里存在复合主键的问题，丞待解决
    * */
    private static final long serialVersionUID = 1L;


    @MppMultiId
    @TableField("blogs_id")
    private Long blogsId;

    @MppMultiId
    @TableField("tags_id")
    private Long tagsId;

}
